// ConfigManager.h: interface for the CConfigManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CONFIGMANAGER_H__276BF31C_E92E_418E_B3D3_652B913F4F52__INCLUDED_)
#define AFX_CONFIGMANAGER_H__276BF31C_E92E_418E_B3D3_652B913F4F52__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//#include "Xml.h"
#include "../Include/ConfigStructDefine.h"

class CConfigManager  
{
private:
	CString m_strConfigFilePath;
//	CXml m_xmlDoc;
public:
	AllConfig m_ParamsConfig;
	AllConfig m_ParamsSaveConfig;
	BOOL WriteToConfigFile(const CString strFilePath);
	BOOL ReLoadFromFile(const CString strFilePath);
public:
//	LONG GetSkillIDList(CArray<LONG,LONG&>& m_arrSkillIDList);
//	BOOL SetSkillIDList(const CArray<LONG,LONG&>& m_arrSkillIDList);
//	LONG GetSkillAutoUse();
//	void InitXml();
	CConfigManager();
	virtual ~CConfigManager();

};

#endif // !defined(AFX_CONFIGMANAGER_H__276BF31C_E92E_418E_B3D3_652B913F4F52__INCLUDED_)
